package cate.game.play.part;

import cate.game.attr.FightAttr;
import cp.solution.util.collection.ListKit;
import easy.java.dev.note.NoteField;

import java.util.ArrayList;
import java.util.List;

public class FightTeamStatus {

	@NoteField("开场时的全队速度")
	public double beginTotalSpeed;

	@NoteField("被动buff")
	public List<Integer> teamBuffs = new ArrayList<>();

	@NoteField("全队属性")
	public FightAttr teamAttr = new FightAttr();

	public FightTeamStatus copy() {
		FightTeamStatus cp = new FightTeamStatus();
		cp.beginTotalSpeed = beginTotalSpeed;
		cp.teamBuffs = ListKit.cloneList(teamBuffs, Integer::intValue);
		cp.teamAttr = teamAttr.copy();
		return cp;
	}
}
